package com.fly.modules.sys.entity;

import com.fly.common.persistence.DataEntity;

import java.util.Date;

/**
 * Created by SWan on 2017/3/29.
 */
public class User extends DataEntity<User> {

    private static final long serialVersionUID = 1L;

    private Integer id;

    //用户名
    private String name;
    //登录名
    private String loginName;
    //密码
    private String passWord;
    //所属部门
    private Dept dept;
    //
    private Date birthday;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
}
